package com.nwu.entities;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Li Runle
 * @date 2022/4/24 - 19:58
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="patentForm对象", description="")

public class patentForm implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "专利id")
    @TableId(value = "patent_id", type = IdType.AUTO)
    private Integer patentId;

    @ApiModelProperty(value = "专利名称")
    private String patentName;

    @ApiModelProperty(value = "专利类型")
    private Integer patentType;

    @ApiModelProperty(value = "专利申请时间")
    private Date patentAppTime;

    @ApiModelProperty(value = "专利公布时间")
    private Date patentPubTime;

    @ApiModelProperty(value = "专利授权时间")
    private Date patentAutTime;

    @ApiModelProperty(value = "作者工号")
    private Integer authorId;

    @ApiModelProperty(value = "作者总数")
    private String authorNum;

    @ApiModelProperty(value = "本人排序")
    private String authorSort;

    @ApiModelProperty(value = "所在单位")
    private Integer patentUnit;

    @ApiModelProperty(value = "通讯单位名称")
    private String patentUnitName;

    @ApiModelProperty(value = "专利授权书等证明材料")
    private String patentCertificate;

    @ApiModelProperty(value = "审核状态")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill= FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer isDeleted;
}
